
<extend name="Application/Admin/View/head.html" />
		<block name="conten">
			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
							<div class="panel panel-default bk-bg-white">
								<div class="panel-heading bk-bg-white">
									<h6><i class="fa fa-table red"></i><span class="break"></span>角色列表</h6>							
									
								</div>
								<div class="panel-body">
									<div class="row">
										
											
												<a href="{:U('Role/add')}"><button class="btn btn-info" id="	addToTable">角色列表添加 <i class="fa fa-plus"></i></button></a>
											</div>
										</div>
									</div>
									<div id="datatable-editable_wrapper" class="dataTables_wrapper no-footer"></div></div><div class="table-responsive"><table id="datatable-editable" class="table table-bordered table-striped mb-none dataTable no-footer" role="grid" aria-describedby="datatable-editable_info">
										<thead>
											<tr role="row"><th class="sorting_asc" tabindex="0" aria-controls="datatable-editable" rowspan="1" colspan="1" style="width: 265px;" aria-sort="ascending" aria-label="Template: activate to sort column ascending">ID</th>
											<th class="sorting" tabindex="0" aria-controls="datatable-editable" rowspan="1" colspan="1" style="width: 415px;" aria-label="Browser: activate to sort column ascending">角色名</th>

											<th class="sorting" tabindex="0" aria-controls="datatable-editable" rowspan="1" colspan="1" style="width: 534px;" aria-label="Platform(s): activate to sort column ascending">权限列表</th>

											<th class="sorting" tabindex="0" aria-controls="datatable-editable" rowspan="1" colspan="1" style="width: 534px;" aria-label="Platform(s): activate to sort column ascending">操作</th>

										</thead>
										<tbody>
											
											
											
											
											
											
											

											
										<tr class="gradeA odd" role="row">

										<foreach name="lists" item="v" ><!-- 循环出数据 -->

												<td>{$v['id']}</td>
												<td>{$v['title']}</td><!-- 用户名 -->
												<td>{$v['rules']}</td><!-- 真实姓名 -->

												<td><button type="button" class="bk-margin-5 btn btn-default btn-circle"><i class="fa {$v['status']==1?'fa-times':'fa-check'}"> </i></button></td><!-- 状态 --> 
												<td class="actions">
													
													<a class="on-default edit-row" href="{:U('Admin/Admin/save/id/'.$v['id'])}"><i class="fa fa-pencil"></i></a>
													<a class="on-default remove-row" href="{:U('Admin/Admin/delete/id/'.$v['id'])}"><i class="fa fa-trash-o"></i></a>
												</td>
											</tr></foreach>
										</tbody>
									</table></div><div class="row datatables-footer">
									<div class="col-sm-12 col-md-6"><div class="dataTables_paginate paging_bs_normal" id="datatable-editable_paginate"><ul class="pagination"><li class="prev disabled"><a href="#"><span class="fa fa-chevron-left"></span></a></li><li class="active"><a href="#">1</a></li><li><a href="#">2</a></li><li><a href="#">3</a></li><li><a href="#">4</a></li><li><a href="#">5</a></li><li class="next"><a href="#"><span class="fa fa-chevron-right"></span></a></li></ul></div></div></div></div>
									
								</div>
							</div>
						</div>
						
						<script src="__ADMIN__/assets/vendor/js/jquery.min.js"></script>
		<script src="__ADMIN__/assets/vendor/js/jquery-2.1.1.min.js"></script>
		<script src="__ADMIN__/assets/vendor/js/jquery-migrate-1.2.1.min.js"></script>
		<script src="__ADMIN__/assets/vendor/bootstrap/js/bootstrap.min.js"></script>
		<script src="__ADMIN__/assets/vendor/skycons/js/skycons.js"></script>	
		<script src="__ADMIN__/assets/vendor/js/pace.min.js"></script>
		
		<!-- Plugins JS-->
		<script src="__ADMIN__/assets/plugins/jquery-ui/js/jquery-ui-1.10.4.min.js"></script>
		<script src="__ADMIN__/assets/plugins/touchpunch/js/jquery.ui.touch-punch.min.js"></script>		
		<script src="__ADMIN__/assets/plugins/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
		<script src="__ADMIN__/assets/plugins/bootstrap-timepicker/js/bootstrap-timepicker.js"></script>
		<script src="__ADMIN__/assets/plugins/bootstrap-colorpicker/js/bootstrap-colorpicker.js"></script>
		<script src="__ADMIN__/assets/plugins/bootstrap-tagsinput/js/bootstrap-tagsinput.js"></script>
		<script src="__ADMIN__/assets/plugins/maskedinput/js/jquery.maskedinput.js"></script>
		<script src="__ADMIN__/assets/plugins/sparkline/js/jquery.sparkline.min.js"></script>
		
		<!-- Theme JS -->		
		<script src="__ADMIN__/assets/js/jquery.mmenu.min.js"></script>
		<script src="__ADMIN__/assets/js/core.min.js"></script>
		
		<!-- Pages JS -->
		<script src="__ADMIN__/assets/js/pages/form-elements.js"></script>
						</block>